<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>promise.any</title>
</head>
<body>
    <script>
        let starTime= +new Date();
        let importUnpkg = import ('https://unpkg.com/vue@3.0.11/dist/vue.runtime.esm-browser.js');
        let importJsdeliver= import('https://cdn.jsdelivr.net/npm/vue@3.0.11/dist/vue.runtime.esm-browser.js');
        Promise.any([importUnpkg,importJsdeliver]).then(vue=>{
            console.log('加载完成'+(+new Date()-starTime));
            console.log(vue.version);
        })
    </script>
</body>
</html>